package com.cro.prison.entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.util.Date;

//import java.sql.Date;

@Data
@ToString
@TableName(value = "prisoner")
public class Prisoner {

    @TableId(type = IdType.AUTO)
    private Long id;

    private String name;

    private Integer type;

    private Long depart;

    private Date createTime;

    private String birth;

    private Integer age;

    private String culture;

    private String origin;
    
    private String advice;

    private Integer mood = 1;

    private String idNumber;
}
